package net.cyue.easyconfiguration.node.definition;

import net.cyue.easyconfiguration.node.NodeType;

public class IgnoreNodeDefinition extends AbstractNodeDefinition {
    public IgnoreNodeDefinition(
        String name,
        String... paths
    ) {
        super(null, NodeType.ANY, name, paths);
        this.setIgnore(true);
    }
    public IgnoreNodeDefinition(
        AbstractNodeDefinition parent,
        String name,
        String... paths
    ) {
        super(parent, NodeType.ANY, name, paths);
        this.setIgnore(true);
    }
    public IgnoreNodeDefinition(
        NodeType type,
        String name,
        String... paths
    ) {
        super(null, type, name, paths);
        this.setIgnore(true);
    }
    public IgnoreNodeDefinition(
        AbstractNodeDefinition parent,
        NodeType type,
        String name,
        String... paths
    ) {
        super(parent, type, name, paths);
        this.setIgnore(true);
    }

    public void setIgnore(boolean ignore) {
        this.ignore = ignore;
    }

}
